package com.cs.cssupplier.mapper;


import com.cs.cssupplier.domain.CsRiskMonitor;
import com.cs.cssupplier.domain.CsSupplier;
import com.cs.cssupplier.domain.vo.CsSupplierVO;
import com.ruoyi.common.core.domain.R;

import java.util.List;

/**
* @author admin
* @description 针对表【cs_supplier(供应商表)】的数据库操作Mapper
* @createDate 2024-11-11 14:41:06
* @Entity generator.domain.CsSupplier
*/
public interface CsSupplierMapper{
    public List<CsSupplier> selectCsSupperList(CsSupplier csSupplier);
    public List<CsSupplier> selectNoCsSupperList(CsSupplier csSupplier);
    public List<CsSupplier> selectCsSupperBadList(CsSupplier csSupplier);
    public CsSupplier selectCsSupplierByZrId(Long zr_id);
    /**
     * 查询供应商
     * @param hid
     * @return
     */
    public CsSupplier selectSupplierHid(Long hid);

    public List<CsSupplier> selectCsSupplier();

    /**
     * 添加供应商
     * @param csSupplier
     * @return
     */
    public int insertSupplier(CsSupplier csSupplier);

    /**
     * 修改供应商
     * @param csSupplier
     * @return
     */
    public int updateSupplier(CsSupplier csSupplier);

    public int deleteSupplier(Long hid);
    public int deleteListSupplier(Long[] hids);

    List<CsSupplier> getSupplierList();

    List<CsSupplierVO> getSupplierVOList();
}




